package com.wooshow.base.local;

import org.hibernate.dialect.MySQL5Dialect;
import org.hibernate.dialect.function.SQLFunctionTemplate;
import org.hibernate.type.StringType;

public class LocalMySQL5Dialect extends MySQL5Dialect {
	public LocalMySQL5Dialect() {
		super();
		registerFunction("convert", new SQLFunctionTemplate(new StringType(), "convert(?1 using ?2)"));
	}
}